<template>
  <div style="width: 1400px; left:0; right:0; top:0; bottom:0; margin:auto">
    <el-dialog :title="title" :visible.sync="yy">
      <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="姓名">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <el-form-item label="年龄">
        <el-input v-model="form.age"></el-input>
      </el-form-item>
      <el-form-item label="性别">
        <el-input v-model="form.sex"></el-input>
      </el-form-item>
      <el-form-item label="家庭住址">
        <el-input v-model="form.home"></el-input>
      </el-form-item>
      <el-form-item label="电话">
        <el-input v-model="form.num"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button style='width:65px;height:25px;font-size:15px;' type="primary" @click="cj">立即创建</el-button>
        <el-button style='width:65px;height:25px;font-size:15px;' @click="qx">取消</el-button>
      </el-form-item>
    </el-form>
    </el-dialog>
    <div class="head">
      <div><h1 style="margin-left: 10px; color: orange">核酸检测法</h1></div>
      <div style="margin-left: 10px">病毒DNA和RNA的检测方法</div>
      <div>
        <div style="float: left; width: 160px; height: 160px">
          <img
            class="img_1"
            src="https://img01.sogoucdn.com/v2/thumb/crop/xy/ai/x/0/y/0/w/300/h/300/iw/30/ih/30/t/0/ir/3/retype_exclude_gif/ext/auto/q/80?t=2&appid=200965&url=http%3A%2F%2Fpic.baike.soso.com%2Fugc%2Fbaikepic2%2F9220%2Fcut-20200207092608-542602222_jpg_466_373_8343.jpg%2F0&referer=http%3A%2F%2Fbaike.sogou.com%2Fm%2FfullLemma%3Flid%3D66902107%26fromTitle%3D%25E6%25A0%25B8%25E9%2585%25B8%25E6%25A3%2580%25E6%25B5%258B%25E6%25B3%2595&sign=3f9e3210e024bb7eba090e5c4eac7207"
          />
        </div>
        <div style="margin-top: 25px">
          <div>
            核酸检测法是通过查找患者的呼吸道标本、血液或粪便中是否存在外来入侵的病毒的DNA和RNA，来判断是否被病毒感染的方法，是新型冠状病毒感染确诊的金标准。新冠病毒感染人体之后，首先会在呼吸道系统中进行繁殖，因此可以通过检测痰液、鼻咽拭子中的病毒核酸判断人体是否感染病毒。
          </div>
        </div>
      </div>
      <div class="jj_1">
        <div style="float: left; font-weight: 600; margin-left: 10px">方法</div>
        <a
          href="https://baike.sogou.com/kexue/d19764402211267851.htm?ch=fromsearch&rcer=uNz_av67cbvzzNt4O"
          class="jj_2"
          >PCR扩增方法</a
        >
      </div>
      <div>
        <div style="float: left; font-weight: 600; margin-left: 10px">领域</div>
        <span class="jj_3">医学</span>
      </div>
      <div>
        <div style="float: left; font-weight: 600; margin-left: 10px">目标</div>
        <span class="jj_4">RNA或DNA结构</span>
      </div>
      <div class="jj_5">
        <div style="float: left">搜狗百科</div>
        <a
          href="https://baike.sogou.com/v66902107.htm"
          style="float: right; color: grey"
          >查看更多></a
        >
      </div>
    </div>
    <div class="center_1">
      <a
        style="color: red; font-size: 20px"
        href="https://prodev.m.jd.com/mall/active/3P9zf6CuXRoseXAmKpcv1bwUGnHg/index.html"
        >新冠肺炎核酸检测-在线预约-1分钟急速预约</a
      >
      <div class="center_2">
        <div class="center_2_1">1</div>
        <div class="center_2_1_1">选择采样点下单</div>
        <div class="center_2_2">2</div>
        <div class="center_2_2_2">在线/微信/电话客服预约</div>
        <div class="center_2_3">3</div>
        <div class="center_2_3_3">携证前往做咽拭子检测</div>
        <div class="center_2_4">4</div>
        <div class="center_2_4_4">48小时内微信发结果</div>
      </div>
      <div class="center_3">
        <el-button style="width:100px;height:33px;font-size:20px;" type="primary" plain @click="show_dialog">立即预约</el-button>
      </div>
    </div>
    <div class="video">
      <div style="clear: both; font-size: 20px; margin-top: 30px; float: left">
        核酸检测__<span style="color: red; font-size: 20px">视频</span>
        <div class="video_1">
          <a
            href="https://www.bilibili.com/video/BV1bt4y1Q7AR?from=search&seid=16329823376708966018"
            ><img
              style="
                width: 30%;
                height: 30%;
                margin-top: 30px;
                margin-left: 50px;
                float: left;
              "
              src="../../assets/核酸检测1.jpg"
          /></a>
          <span class="video_one">
            <a
              href="https://www.bilibili.com/video/BV1bt4y1Q7AR?from=search&seid=16329823376708966018"
            >
              「核酸检测全攻略」疼不疼？多久出结果？阳性怎么办？在哪做？多少钱？</a
            >
          </span>
        </div>
        <div class="video_2">
          <a
            href="https://www.bilibili.com/video/BV1fz411i7PF?from=search&seid=16329823376708966018"
          >
            <img
              style="
                width: 29%;
                height: 29%;
                margin-top: -260px;
                margin-right: 210px;
                float: right;
              "
              src="../../assets/核酸检测2.jpg"
          /></a>
          <span class="video_two">
            <a
              href="https://www.bilibili.com/video/BV1fz411i7PF?from=search&seid=16329823376708966018"
            >
              传闻中令人崩溃的“核酸检测”到底有多可怕？</a
            >
          </span>
        </div>
      </div>
      <div style="float: right; color: grey">
        <a
          href="https://search.bilibili.com/all?keyword=%E6%A0%B8%E9%85%B8%E6%A3%80%E6%B5%8B&from_source=nav_suggest_new"
          >更多视频></a
        >
      </div>
    </div>
    <div class='bottom'>
      <div style="font-size: 20px; display:block">核酸检测__
        <span style="color:red;">知乎</span>
        </div>
      <div style="margin-top: 10px">
        探寻抗疫新科技:为何北京核酸检测效率提升10倍?
      </div>
      <div>
        <div style=" width: 400px; float:left">
          <img
            style="width: 80%; height: 80%; border-radius: 20px"
            src="../../assets/核酸检测3.jpeg"
          />
        </div>
        <div class="zh_1">
          <a href="https://www.zhihu.com/tardis/sogou/art/342127086"
            >北京市核酸检测信息统一平台正式上线，连接了数千万市民、上千家街道社区和百余家医院检测机构，实现了市民从登记核酸检测到采样最快1分钟，6~24小时获取结果，效率提升5~10倍，日均支持300万以上人次的设计目标，在北京疫情突发的寒冬时刻有力保障了市民的健康和便利。同时，该平台实现了对检测数据的实时...</a
          >
        </div>
      </div>
      <div class="zh_2">
        <a href="https://www.zhihu.com/tardis/sogou/qus/438043907"
          >1 月 6 日开始石家庄全市启动核酸检测,目前当地情况如何?还有...</a
        >
      </div>
      <div class="zh_3">
        <a href="https://www.zhihu.com/tardis/sogou/qus/437829990"
          >如何看待大连有病例做 11 次核酸检测才呈阳性?机械执行 14 天居...</a
        >
      </div>
      <div>
        <div style=" margin-top: 30px">
          <img style="border-radius: 100%" src="../../assets/logo-zhihu.png" />
        </div>
        <div
          style="
            float: left;
            margin-top: 37px;
            margin-left: 5px;
            font-size: 14px;
            color: grey;
          "
        >
          知乎
        </div>
        <div style="float: right; margin-top: 35px; color: grey">
          <a
            href="https://www.zhihu.com/search?type=content&q=%E6%A0%B8%E9%85%B8%E6%A3%80%E6%B5%8B"
            >查看更多></a
          >
        </div>
      </div>
    </div>
    <div class="back_top" @click="backTop">
      <i><img src="../../assets/返回顶部1.png" alt="" /></i>
      <span>返回顶部</span>
    </div>
  </div>
</template>

<style scoped>
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
.back_top {
  position: fixed;
  width: 80px;
  height: 80px;
  bottom: 6%;
  right: 4%;
  text-align: center;
  cursor: pointer;
}
.back_top i img {
  width: 50px;
  height: 50px;
}
.back_top i {
  float: left;
  margin-left: 8px;
}
.back_top span {
  float: left;
  font-size: 16px;
  font-weight: bold;
}
.zh_3:hover {
  color: blue;
}
.zh_3 {
  margin-top: 20px;
  font-size: 17px;
  border-bottom: 2px solid #f5f5f5;
}
.zh_2:hover {
  color: blue;
}
.zh_2 {
  margin-top: 20px;
  clear: both;
  font-size: 17px;
  border-bottom: 2px solid #f5f5f5;
}
.zh_1:hover {
  color: blue;
}
.zh_1 {
  width: 320px;
  margin-top: 10px;
  margin-right: 500px;
  font-size: 18px;
  float: right;
}
.video_2 {
  float: right;
  clear: both;
}
.video_two:hover {
  color: skyblue;
}
.video_two {
  float: right;
  font-size: 15px;
  color: black;
  top: -19px;
  right: 250px;
  clear: both;
  position: relative;
}
.video_1 {
  float: left;
  clear: both;
}
.video {
  float: left;
  width:1320px;
  /* clear: both; */
  background-color: #f7f7f7;
  border-radius: 20px;
  display: block;
}
.video_one:hover {
  color: skyblue;
}
.video_one {
  font-size: 15px;
  color: black;
  float: left;
  margin-top: 10px;
  margin-right: 400px;
  clear: both;
}
.head {
  background-color: #f3efef;
  border-radius: 25px;
  width: 1280px;
  height: 300px;
  /* float: left; */
  display: block;
}
.center_3 {
  width: 1265px;
  height: 40px;
  clear: both;
  float: left;
  margin-top: 10px;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
}
.center_2_4_4 {
  font-size: 12px;
  line-height: 16px;
  float: left;
  margin-top: -18px;
  margin-left: 860px;
  clear: both;
}
.center_2_4 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3773f2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  margin-left: 900px;
  margin-top: -47px;
  clear: both;
  float: left;
}
.center_2_3_3 {
  font-size: 12px;
  line-height: 16px;
  float: left;
  margin-top: -17.5px;
  margin-left: 600px;
  clear: both;
}
.center_2_3 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3773f2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  margin-left: 650px;
  margin-top: -47px;
  clear: both;
  float: left;
}
.center_2_2_2 {
  font-size: 12px;
  line-height: 16px;
  float: left;
  margin-top: -17px;
  margin-left: 350px;
  clear: both;
  float: left;
}
.center_2_2 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3773f2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  margin-left: 400px;
  margin-top: -46px;
  clear: both;
  float: left;
}
.center_2_1_1 {
  font-size: 12px;
  line-height: 16px;
  float: left;
  margin-top: 10px;
  margin-left: 120px;
  clear: both;
}
.center_2_1 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3773f2;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  margin-left: 150px;
  margin-top: 10px;
  clear: both;
}
.center_2 {
  background-color: #f7f7f7;
  width: 1100px;
  height: 70px;
  float: left;
  margin-left: 65px;
}
.center_1 {
  height: 150px;
  width:1280px;
  /* clear: both; */
  margin-top: 30px;
  float: left;
  display: block;
}
.center_1 a{
  float: left;
}
.img_1 {
  width: 80%;
  height: 80%;
  border-radius: 20%;
}
.jj_1 {
  clear: both;
}
.jj_2 {
  margin-left: 15px;
  color: skyblue;
}
.jj_3 {
  margin-left: 15px;
}
.jj_4 {
  margin-left: 15px;
}
.jj_5 {
  clear: both;
  margin-top: 10px;
}
.bottom{
  margin-top: 540px;
  height: 300px;
  width:1320px;
  background-color: #f3efef;
  border-radius: 20px;
  display:block;
}
</style>
<script>
export default {
  data(){
    return {
        yy:false,
        title:'立即预约',
        form:{},
    }
  },
  methods: {
    backTop() {
      document.body.scrollTop = 0;
      document.documentElement.scrollTop = 0;
    },
    show_dialog() {
      this.yy = true;
    },
    cj() {
      console.log(this.form.name);
      if(!this.form.name || !this.form.age || !this.form.sex || !this.form.home || !this.form.num){
        alert('信息不完整！QAQ');
      } else{
        alert('预约成功辣！qwq');
        this.yy = false;
      }
      
      // this.yy = false;
    },
    qx() {
      alert('无辣~');
      this.yy = false;
    },
  },
};
</script>